FROM registry.cn-qingdao.aliyuncs.com/thad-yo/8-jdk:1.0

WORKDIR /App/data

ARG JAR_FILE
ENV JAR_FILE=${JAR_FILE}
ADD ${JAR_FILE} /App/${JAR_FILE}

ENTRYPOINT exec java $JAVA_OPTS -jar /App/${JAR_FILE}